//
//  ShoppingTableViewCell.h
//  FruitVIP
//
//  Created by 孙艳玲 on 15/5/21.
//  Copyright (c) 2015年 孙艳玲. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol allPriceDelegate <NSObject>

- (void)allPrice:(NSInteger)allPrice;

@end


@protocol deleteButtonDelegate <NSObject>

- (void)deleteButton;

@end

@interface ShoppingTableViewCell : UITableViewCell

@property(nonatomic, strong)UIImageView *foodImageView;
@property(nonatomic, strong)UILabel *countLabel;
@property(nonatomic, strong)UILabel *priceLabel;
@property (nonatomic, assign) NSInteger count;
@property(nonatomic, assign)id<allPriceDelegate>myDelegate;
@property(nonatomic, assign)id<deleteButtonDelegate>deleteDelegate;

//自定义方法，计算名字的高度
+(CGFloat)heightForName:(NSString *)name;
@property(nonatomic, strong)UIButton *cutBUtton;

@end
